<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $page_title?></title>
<link rel="stylesheet" type="text/css" href="/css/style.css?v=001" />
<script type="text/javascript" src="/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/js/main.js?v=2"></script>
<link rel="shortcut icon" id="favicon" type="image/x-icon" href="/images/favicon_32.ico">
</head>
<body>
<div class="header">
	<div class="header-content">
		<div class="header-logo">
			<a href="/"><img alt="<?php echo Function_23dian::page_title();?>" src="/images/logo.png"></a>
		</div>
		<ul class="header-nav">
			<li><a href="/">首页</a></li>
			<?php $all_category = Kohana::$config->load('category')->as_array(); foreach ($all_category as $key => $category){?>
				<li>|</li>
				<li><a href="/index/index/<?php echo $key;?>"><?php echo $category;?></a></li>
			<?php }?>
		</ul>
		<?php if (0){?>
		<div class="header-right">
			<span class="header-user">
				<a href="#">注册</a>
				<span>·</span>
				<a href="#">登录</a>
			</span>
			<span class="header-gotobed"><a href="#">睡觉</a></span>
		</div>
		<?php }?>
	</div>
	<div class="header-bottom"></div>
</div>
